package drds.data_propagate.server;

import drds.data_propagate.common.LifeCycle;
import drds.data_propagate.server.exception.DataPropagateServerException;

/**
 * 对应canal整个服务实例，一个jvm实例只有一份server
 *
 * @author jianghang 2012-7-12 下午01:32:29
 * @version 1.0.0
 */
public interface Server extends LifeCycle {

    void start() throws DataPropagateServerException;

    void stop() throws DataPropagateServerException;
}
